package com.example.myapplication.customizeView;

import androidx.appcompat.app.AppCompatActivity;


import android.os.Bundle;
import android.util.Log;


import com.example.myapplication.R;
import com.example.myapplication.customizeView.slide.SlideMenuView;

public class SlideMenuActivity extends AppCompatActivity {

    private static final String TAG = "SlideMenuActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_slide_menu);

        SlideMenuView slideItems = this.findViewById(R.id.slide_items);
        slideItems.setOnEditClickListener(new SlideMenuView.OnEditClickListener() {
            @Override
            public void onReadClick() {
                Log.d(TAG, "onReadClick: ");

            }

            @Override
            public void onTopClick() {
                Log.d(TAG, "onTopClick: ");

            }

            @Override
            public void onDeleteClick() {
                Log.d(TAG, "onDeleteClick: ");

            }
        });
    }
}